import { useState } from 'react'
import { Outlet,  Link ,useRoutes} from 'react-router-dom'
import  Router  from "./router/"
function App() {
  const [count, setCount] = useState(0)
   const Outlet =  useRoutes(Router)
  return (
    <>
      <div style={{"color":'#000'}}>
        {/* 啊实打实的
    <Comp></Comp>
    <Comp2></Comp2> */}
    {/* <Link to='/home'>首页</Link> | 
    <Link to='/about'>关于</Link> |
    <Link to='/User'>用户</Link> */}
      {/* <Outlet></Outlet> */}
      {Outlet}
      </div>
     
    </>
  )
}

export default App
